package face.pay.web.oem.service;

import face.pay.entity.OemInfo;
import face.pay.entity.UserInfo;
import face.pay.security.exception.BaseException;
import face.pay.util.ResultMessage;
import face.pay.util.page.PageData;
import face.pay.util.page.PageParam;
import face.pay.vo.OemUserInfo;

/**
 * @Auther: zkj
 * @Date: 2019/7/3 16:31
 * @Description:
 */
public interface IOemService {

    /**
     * OEM 新增并且 添加oem 管理员用户
     * @param oemInfo
     * @return
     * @throws BaseException
     */
    public ResultMessage editOem(OemUserInfo oemInfo) throws BaseException;

    public PageData queryPage(OemUserInfo oemUserInfo, PageParam pageParam);

    public ResultMessage getOemUserInfo(Integer oemId) throws BaseException;

    public OemInfo getOemInfo(Integer oemId) throws BaseException;

    ResultMessage editOemInfo(OemInfo oemInfo, UserInfo loginUser);
}
